use env instead of bash
authorFélix Piédallu <felix@piedallu.me>
Fri, 1 Dec 2017 23:50:41 +0000 (00:50 +0100)
committerØyvind Kolås <pippin@gimp.org>
Sat, 16 Dec 2017 01:44:00 +0000 (02:44 +0100)
docs/meson.build

index 3a5115b90f2df350e5dde7605e12765eedc738a2..3cef2d12f91ea021c71bb6defd24fdf397333b53 100644 (file)
@@ -18,8 +18,9 @@ index_static_html = configure_file(
 index_html_tmp = custom_target('index.html.tmp',
   input : [ babl_html_dump, ],
   output: [ 'index.html.tmp', ],
-  command: [ 'bash', '-c',
-    'BABL_PATH="'+ join_paths(meson.build_root(), 'extensions') +'" '+ babl_html_dump.full_path()
+  command: [
+    'env', 'BABL_PATH='+ join_paths(meson.build_root(), 'extensions'),
+    babl_html_dump
   ],
   capture: true,
 )